﻿using System.Windows;
using System.Windows.Controls;

namespace MDCAdminTool.Controls.Cache_Cluster
{
	/// <summary>
	/// Interaction logic for TabHeader.xaml
	/// </summary>
	public partial class TabHeader : UserControl
	{
		public TabHeader()
		{
			InitializeComponent();
			this.DataContext = this;

		}

		public static readonly DependencyProperty TitleProperty =
			DependencyProperty.Register(
			   "Title",
			   typeof(string),
			   typeof(TabHeader),
			   new FrameworkPropertyMetadata("Chart",
					FrameworkPropertyMetadataOptions.BindsTwoWayByDefault |
					FrameworkPropertyMetadataOptions.AffectsRender));

		public string Title
		{
			get { return (string)GetValue(TitleProperty); }
			set { SetValue(TitleProperty, value); }
		}
	}
}
